﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using BL;

namespace unigator.Responses
{
    [DataContract]
    public class Point
    {
        [DataMember]
        public int Id { get; private set; }

        [DataMember]
        public string Name { get; private set; }

        public Point(InterestPoint point)
        {
            Id = point.Id;
            Name = point.Name;
        }
    }
}